<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>12-鼠标坐标获取</title>
		<style type="text/css">
			button{
				position: fixed;
				left: 100px;
				top:100px;
			}
		</style>
	</head>
	<body>
		<button type="button"></button>
		<script type="text/javascript">
			document.addEventListener('click',function(e){
				console.log(e);
			});
		</script>
	</body>
</html>
